package com.goods.business.service;

import com.goods.common.model.business.Product;
import com.goods.common.vo.business.ProductStockVO;
import com.goods.common.vo.business.ProductVO;
import com.goods.common.vo.system.PageVO;

public interface ProductService {
    PageVO<ProductVO> findProductList(Integer pageNum, Integer pageSize, String name, Long categoryId, String supplier, Integer status, String categorys);

    void addProduct(ProductVO productVO);

    Product editProduct(Long id);

    void updateProduct(Product product);

    void removeProduct(Long id);

    void backProduct(Long id);

    void deleteProduct(Long id);

    void publishProduct(Long id);

    PageVO<ProductStockVO> findProductStocks(Integer pageNum, Integer pageSize, String categorys, String name);
}
